importPackage(java.lang);
importPackage( Packages.org.yoshiori.lingr.bot);
importPackage(Packages.org.yoshiori.lingr.bot.utils);

var bot = new LingrBot("example_bot", "yoshiori_bot", "86f98e18c21048c099cf07ee6c250f1e");
bot.addListener(new SimpleObserver(){
	say : function(message){
		return message.getNickname() + " say:" + message.getText();
	}
};);
bot.start();